<?php session_start();?>
<?php
	$id=$_GET['item'];
	$size=$_POST["size"];
	$SLM=$_REQUEST['value'];
	if(isset($_SESSION['cart'][$id]))
	{
	 $SL = $_SESSION['cart'][$id] + $SLM;
	}
	else
	{
	 $SL=$SLM;
	}
	$_SESSION['size'][$id]= $size;
	$_SESSION['cart'][$id]=$SL;
	header("location:../MyModel/GioHang.php");
?>
